package com.usian.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;
import org.springframework.stereotype.Service;

import java.util.List;

public interface WmNewsService extends IService<WmNews> {

    ResponseResult findList(WmNewsPageReqDto wmNewsPageReqDto);

    ResponseResult saveNews(WmNewsDto wmNews, Short isSubmit);

    ResponseResult findWmNewsById(Integer id);

    ResponseResult delNews(Integer id);

    ResponseResult downOrUp(WmNewsDto dto);

    List<Integer> findRelease();
}
